package org.csu.mypetstore.domain;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component("account")
public class Account {
    private String username;
    private String password;
    private String email;
    private String firstName;
    private String lastName;
    private String status;
    private String address1;
    private String address2;
    private String city;
    private String state;
    private String zip;
    private String country;
    private String phone;
    private String favouriteCategoryId;
    private String languagePreference;
    private boolean listOption;
    private boolean bannerOption;
    private String bannerName;

    @Override
    public String toString() {
        return "Account{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", firstName='" + firstName + '\'' +
                ", lastName='" + lastName + '\'' +
                ", status='" + status + '\'' +
                ", address1='" + address1 + '\'' +
                ", address2='" + address2 + '\'' +
                ", city='" + city + '\'' +
                ", state='" + state + '\'' +
                ", zip='" + zip + '\'' +
                ", country='" + country + '\'' +
                ", phone='" + phone + '\'' +
                ", favouriteCategoryId='" + favouriteCategoryId + '\'' +
                ", languagePreference='" + languagePreference + '\'' +
                ", listOption=" + listOption +
                ", bannerOption=" + bannerOption +
                ", bannerName='" + bannerName + '\'' +
                '}';
    }
}
